AdBlockGuard\Frontend D

Total Complexity 133
Dependencies 2
Dependents 0
Total lines 650
Lines of code 402
Logical lines of code 256
Comment lines 107
Methods 29
Properties 7

Methods 29

Method Rating Maintainability Complexity Lines of code
getUserGroupSettings()
B
46 17 37
isCurrentPageTypeExcluded()
A
48 15 32
canRenderOnExcludedPosts()
A
50 11 27
getAllCarbonFieldSettingsFromCache()
A
48 9 31
isCurrentWooCommercePageTypeExcluded()
A
54 9 22
canRenderOnWooCommercePages()
A
57 8 17
canRenderOnIgnoredUrls()
S
52 7 24
canRenderOnExcludedPages()
S
55 7 20
canRenderOnSpecialPages()
S
58 7 15
isUserOverlayRenderable()
S
55 6 23
runModeFrontend()
S
58 3 16
render_footer_content()
S
65 4 9
logBrowserConsole()
S
62 3 11
isUserOverlayEnabled()
S
64 3 9
getRole()
S
64 3 10
isEnabledGlobally()
S
68 3 7
renderAdBlock()
S
59 2 14
__construct()
S
61 2 13
getCurrentRelativePath()
S
71 2 5
isRegistrationPage()
S
78 2 3
get_instance()
S
71 2 6
runModeDemo()
S
61 1 12
getUserOverlaySettings()
S
80 1 3
isPathMatchingPattern()
S
66 1 8
is_checkbox_checked()
S
80 1 3
isDebug()
S
82 1 3
getSerializedOptionNames()
S
66 1 10
getAllOptionNames()
S
63 1 9
isLoginPage()
S
79 1 3